ECG and EEG monitoring